<div class="width_950">
<div class="tab2"><a href="?r=site/index">首页</a>&gt;&gt;<?php echo $model->brand;?></div>
</div>
<div  class="width_950" style="margin-bottom:10px;margin-top:20px;"><a target="_blank" href="<?php echo Yii::app()->params['ad']['top5'][2];?>"><img src="<?php echo Yii::app()->params['ad']['top5'][0];?>" width="950" height="90" title="<?php echo Yii::app()->params['ad']['top5'][1];?>" /></a></div>
<div style="padding:10px;width:900px;margin:0 auto;"><strong>公司介绍</strong></div>
<div style="padding-right:50px;width:880px;margin:0 auto;">
<?php echo $model->introduction; ?>
</div>
<div style="padding:10px;width:900px;margin:0 auto;">公司图片</div>
<div style="padding:0;width:880px;margin:0 auto;padding-right:50px;">
<table width="890" border="0" cellspacing="1" cellpadding="0" bgcolor="#4f81bd">
  <tr>
    <td width="110" height="22" align="left" bgcolor="#F0F8FF"><strong>企业名称</strong></td>
    <td height="22" colspan="3" bgcolor="#F0F8FF"><?php echo CHtml::encode($model->name); ?></td>
    <td width="92" height="22" align="left" bgcolor="#F0F8FF"><strong>负责人</strong></td>
    <td width="116" height="22" align="center" bgcolor="#F0F8FF"><?php echo CHtml::encode($model->linkman); ?></td>
    <td width="59" align="center" bgcolor="#F0F8FF"><strong>QQ</strong></td>
    <td width="121" align="center" bgcolor="#F0F8FF"><?php echo CHtml::encode($model->qq); ?></td>
  </tr>
  <tr>
    <td width="110" height="23" align="left" bgcolor="#F0F8FF"><strong>负责人电话</strong></td>
    <td width="156" height="23" bgcolor="#F0F8FF"><?php echo CHtml::encode($model->linkman_tel); ?></td>
    <td width="72" height="23" align="left" bgcolor="#F0F8FF"><strong>厂家电话</strong></td>
    <td width="165" height="23" align="center" bgcolor="#F0F8FF"><?php echo CHtml::encode($model->tel); ?></td>
    <td width="92" height="23" align="left" bgcolor="#F0F8FF"><strong>厂家传真</strong></td>
    <td height="23" colspan="3" align="center" bgcolor="#F0F8FF"><?php CHtml::encode($model->fax) ?></td>
  </tr>
  <tr>
    <td width="110" height="25" align="left" bgcolor="#F0F8FF"><strong>E-mail</strong></td>
    <td height="25" colspan="3" bgcolor="#F0F8FF"><?php echo CHtml::encode($model->email); ?></td>
    <td height="25" align="left" bgcolor="#F0F8FF"><strong>网址</strong></td>
    <td height="25" colspan="3" align="center" bgcolor="#F0F8FF"><?php echo CHtml::encode($model->url); ?></td>
  </tr>
    <tr>
    <td width="110" height="25" align="left" bgcolor="#F0F8FF"><strong>企业所在地</strong></td>
    <td height="25" colspan="2" bgcolor="#F0F8FF"><?php echo CHtml::encode($model->province_name.' '.$model->city_name.' '.$model->area_name); ?></td>
    <td height="25" align="center" bgcolor="#F0F8FF"><strong>厂商地址</strong></td>
    <td height="25" colspan="4" bgcolor="#F0F8FF"><?php echo CHtml::encode($model->address); ?></td>
  </tr>
  <tr>
  	<td width="110" height="25" align="left" bgcolor="#F0F8FF"><strong>分类</strong></td>
  	 <td colspan="7" bgcolor="#F0F8FF"><?php foreach($sort_models as $val){ echo $val->name.' '; }?></td>
  </tr>
</table>
</div>
<div class="width_950" style="padding:10px;width:890px;padding-right:50px;">
<table border="0" cellspacing="1" cellpadding="0" class="dataGrid">
  <tr>
    <td width="142" height="30" align="center"><strong>产品图片</strong></td>
    <td width="202" height="30" align="center"><strong>产品名称</strong></td>
    <td width="101" height="30" align="center"><strong>材质</strong></td>
    <td width="139" height="30" align="center"><strong>型号</strong></td>
    <td width="152" height="30" align="center"><strong>产品系列</strong></td>
    <td width="157" height="30" align="center"><strong>产地</strong></td>
  </tr>
  <?php foreach($product_models as $n=>$product):?>
   <tr class="<?php echo $n%2?'even':'odd';?>">
    <td align="center"><a href="?r=product/get_product&id=<?php echo $product->id;?>"><img src="<?php echo $product->logo;?>" width="128" height="60" /></a></td>
    <td align="center"><a href="?r=product/get_product&id=<?php echo $product->id;?>"><?php echo $product->name;?></a></td>
    <td align="center"><a href="?r=product/get_product&id=<?php echo $product->id;?>"><?php echo $product->material;?></a></td>
    <td align="center"><a href="?r=product/get_product&id=<?php echo $product->id;?>"><?php echo $product->type;?></a></td>
    <td align="center"><a href="?r=product/get_product&id=<?php echo $product->id;?>"><?php echo $product->series_name;?></a></td>
    <td align="center"><a href="?r=product/get_product&id=<?php echo $product->id;?>"><?php echo CHtml::encode($product->province_name.' '.$product->city_name.' '.$product->area_name); ?></a></td>
  </tr>
  <?php endforeach;?>
</table>
</div>
<?php $this->widget('CLinkPager',array('pages'=>$pages,'htmlOptions'=>array('style'=>'width:900px;'))); ?>